(global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/community/index" ], {
    "015a": function(t, n, e) {},
    "2e2b": function(t, e, o) {
        (function(i) {
            function n(n, t) {
                var e, o = Object.keys(n);
                return Object.getOwnPropertySymbols && (e = Object.getOwnPropertySymbols(n), t && (e = e.filter(function(t) {
                    return Object.getOwnPropertyDescriptor(n, t).enumerable;
                })), o.push.apply(o, e)), o;
            }
            Object.defineProperty(e, "__esModule", {
                value: !0
            });
            var t = {
                components: {},
                data: function() {
                    return {
                        community: {
                            lng: 0,
                            lat: 0
                        },
                        communityId: 0,
                        houseList: [],
                        isLoading: 1,
                        tools: this.$tools
                    };
                },
                computed: function(o) {
                    for (var t = 1; t < arguments.length; t++) {
                        var i = null != arguments[t] ? arguments[t] : {};
                        t % 2 ? n(Object(i), !0).forEach(function(t) {
                            var n, e;
                            n = o, t = i[e = t], e in n ? Object.defineProperty(n, e, {
                                value: t,
                                enumerable: !0,
                                configurable: !0,
                                writable: !0
                            }) : n[e] = t;
                        }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(i)) : n(Object(i)).forEach(function(t) {
                            Object.defineProperty(o, t, Object.getOwnPropertyDescriptor(i, t));
                        });
                    }
                    return o;
                }({}, (e.default = void 0, o("26cb").mapState)({
                    isLogin: function(t) {
                        return t.user.isLogin;
                    },
                    basicSet: function(t) {
                        return t.init.basicSet;
                    },
                    cityArea: function(t) {
                        return t.init.cityArea;
                    }
                })),
                onLoad: function() {
                    var t = this.$Route.query;
                    this.communityId = t.communityId, this.communityDetail();
                },
                onShareAppMessage: function() {
                    return {
                        path: "pages/community/index?communityId="+ this.community.id + "&share_uid=" + this.loginUser.id,
                        success: function(t) {},
                        title: this.info.title,
                        imageUrl: this.info.photo_url
                    };
                },
                onReady: function() {},
                methods: {
                    carouselChange: function() {},
                    call: function() {
                        var t = this.community.tel;
                        i.makePhoneCall({
                            phoneNumber: t
                        });
                    },
                    navAddress: function(t) {
                        var n = this.community.lat, e = this.community.lng, o = this.community.address;
                        i.openLocation({
                            latitude: parseFloat(n),
                            longitude: parseFloat(e),
                            address: o,
                            name: o
                        });
                    },
                    jump: function(t, n) {
                        this.showShare = !1, this.$Router.push({
                            path: t,
                            query: n
                        });
                    },
                    backHome: function() {
                        this.$Router.pushTab({
                            path: "/pages/index/index"
                        });
                    },
                    communityDetail: function() {
                        var n = this;
                        n.$api("community.communityDetail", {
                            communityId: n.communityId
                        }).then(function(t) {
                            0 == t.errno ? (n.community = t.data.community, n.isLoading = 0, i.setNavigationBarTitle({
                                title: n.community.name
                            }), n.getHouses()) : i.navigateBack({});
                        });
                    },
                    getHouses: function() {
                        var n = this, t = {
                            cityId: n.cityArea.cityId,
                            communityId: n.community.id
                        };
                        this.$api("index.getHouses", t).then(function(t) {
                            n.houseList = t.data.list;
                        });
                    }
                }
            };
            e.default = t;
        }).call(this, o("543d").default);
    },
    4049: function(t, n, e) {
        e.r(n);
        var o, i = e("7986"), u = e("ed8e");
        for (o in u) "default" !== o && function(t) {
            e.d(n, t, function() {
                return u[t];
            });
        }(o);
        e("bbdf");
        var r = e("f0c5"), i = Object(r.a)(u.default, i.b, i.c, !1, null, null, null, !1, i.a, void 0);
        n.default = i.exports;
    },
    "4b5c": function(t, n, o) {
        (function(t) {
            o("767a"), e(o("66fd"));
            var n = e(o("4049"));
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = o, t(n.default);
        }).call(this, o("543d").createPage);
    },
    7986: function(t, n, e) {
        e.d(n, "b", function() {
            return i;
        }), e.d(n, "c", function() {
            return u;
        }), e.d(n, "a", function() {
            return o;
        });
        var o = {
            wkNearMap: function() {
                return e.e("components/wk-near-map/index").then(e.bind(null, "9b1d"));
            },
            wkLethouses: function() {
                return e.e("components/wk-lethouses/index").then(e.bind(null, "295a"));
            },
            wkLoginModal: function() {
                return e.e("components/wk-login-modal/index").then(e.bind(null, "978a"));
            },
            wkSkeletons: function() {
                return e.e("components/wk-skeletons/index").then(e.bind(null, "5375"));
            }
        }, i = function() {
            var o = this;
            o.$createElement;
            o._self._c, o._isMounted || (o.e0 = function(t, n) {
                var e = arguments[arguments.length - 1].currentTarget.dataset;
                return n = (e.eventParams || e["event-params"]).index, o.tools.previewImage(o.topImgs, n);
            });
        }, u = [];
    },
    bbdf: function(t, n, e) {
        var o = e("015a");
        e.n(o).a;
    },
    ed8e: function(t, n, e) {
        e.r(n);
        var o, i = e("2e2b"), u = e.n(i);
        for (o in i) "default" !== o && function(t) {
            e.d(n, t, function() {
                return i[t];
            });
        }(o);
        n.default = u.a;
    }
}, [ [ "4b5c", "common/runtime", "common/vendor" ] ] ]);